home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / libs / sphigs / sph_dos.lha / dos / sphdemo / makefile < prev    next >
Encoding:
Makefile  |  1991-11-26  |  537 b   |  22 lines

  1. # THIS MAKEFILE CAN BE USED TO CREATE sphdemo.exe
  2.  
  3. # You can use either Turbo C v2.0 and Turbo C++ v1.0
  4. # You should use Borland's make.
  5.  
  6. inclist=..\sphsrc;..\sphigs;..\srgp;..\..\include
  7.  
  8. sphdemo.exe: main.obj struct.obj view.obj
  9.   tlink ..\..\lib\c0l main struct view, sphdemo, sphdemo, \
  10.   ..\sphsrc\sphigs ..\srgp\srgp ..\..\lib\mathl ..\..\lib\emu \
  11.   ..\..\lib\cl
  12.  
  13. # the following is a generic rule to make an obj from its c module
  14. .c.obj:
  15.   tcc -c -ml -I$(inclist)  $<
  16.  
  17. main.obj: sphdemo.h
  18.  
  19. struct.obj: struct.h
  20.  
  21. view.obj: view.h
  22.